package com.example.hcd.datamanage;

import java.text.SimpleDateFormat;
import java.util.Date;

public class ImageFileType {
	private String id;
	private String taskType;
//	文件名
//	报销：包含日期路径的文件名
//	公告、付款、采购：文件名
	private String imageFilePath;
	private long createTime;
	private String op;
	
	//任务ID
	private String taskId;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getTaskType() {
		return taskType;
	}
	public void setTaskType(String taskType) {
		this.taskType = taskType;
	}
	public String getImageFilePath() {
		return imageFilePath;
	}
	public void setImageFilePath(String imageFilePath) {
		this.imageFilePath = imageFilePath;
	}
	public String getCreateTime() {
		SimpleDateFormat mFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm");
		
		return mFormat.format(new Date(createTime));
	}
	public void setCreateTime(long createTime) {
		this.createTime = createTime;
	}
	public String getOp() {
		return op;
	}
	public void setOp(String op) {
		this.op = op;
	}
	public String getTaskId() {
		return taskId;
	}
	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}
}
